MEPSystem.Remove
Description:
Remove elements from system.
Remove elements from system.
Remarks:
It is forbidden to remove all terminal elements from system. Terminal elements will be removed from the system automatically after removing this system from document.
It is forbidden to remove all terminal elements from system. Terminal elements will be removed from the system automatically after removing this system from document.
Overloads (2):
Remove(ICollection[ElementId])
public virtual void Remove(
ICollection<ElementId> elementIds
)
-
ICollection<ElementId>elementIdsThe elements to be removed from the system.
-
Thrown when the input argument elements isnullNothingnullptra null reference (Nothingin Visual Basic), or any element in that collection isnullNothingnullptra null reference (Nothingin Visual Basic).
-
Thrown when some of the elements can't be removed, or when trying to remove all elements from the system. The element which connect to the base equipment can't be removed,
-
Thrown when the operation failed.